#ifndef COMMON_USER_LOG_H
#define COMMON_USER_LOG_H

#include "common/log/log.h"

#define SESSION_LOG_TRACE LOG_TRACE << session->user()->login() << " | "
#define SESSION_LOG_DEBUG LOG_DEBUG << session->user()->login() << " | "
#define SESSION_LOG_INFO  LOG_INFO << session->user()->login() << " | "
#define SESSION_LOG_WARN  LOG_WARN << session->user()->login() << " | "
#define SESSION_LOG_ERROR LOG_ERROR << session->user()->login() << " | "
#define SESSION_LOG_FATAL LOG_FATAL << session->user()->login() << " | "

#endif // COMMON_USER_LOG_H
